﻿@{
    ViewBag.Title = "העלאת תמונות";
}
@section headElements{
    <!-- Load script and stylesheet Files of plupload -->
    <link rel="stylesheet" type="text/css" href="@Url.Content("~/plupload/js/jquery.plupload.queue/css/jquery.plupload.queue.css")" />
    <link rel="stylesheet" type="text/css" href="@Url.Content("~/Content/UploadImages.css")" />
    <!-- Third party script for BrowserPlus runtime (Google Gears included in Gears runtime now) -->
    <script type="text/javascript" src="http://bp.yahooapis.com/2.4.21/browserplus-min.js"></script>
    <!-- Load plupload and all it's runtimes and finally the jQuery queue widget -->
    <script type="text/javascript" src="@Url.Content("~/plupload/js/plupload.full.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/plupload/js/jquery.plupload.queue/jquery.plupload.queue.js")"></script>
    <!-- Load script and stylesheet Files of plupload -->
    <script type="text/javascript" src="@Url.Content("~/Scripts/UploadMultipleBackgrounds.js")"></script>
}
<ul id="Breadcrumbs">
    <li><a href="@Url.Action("Index", "Admin")">פאנל ניהול</a></li>
    <li><a href="@Url.Action("Index", "BackgroundImages")">תמונות רקע</a></li>
    <li>@ViewBag.Title</li>
</ul>
<form id="frmUploadImage" action="">
<div class="highlightedPanel">
    @Html.Hidden("FileIndex", "1")
    <div class="fieldRow">
        <div class="label">
            כותרת</div>
        <div class="value">
            @Html.TextBox("Title", "")
        </div>
    </div>
    <div class="fieldRow">
        <div class="label">
            קטגוריה</div>
        <div class="value">
            @Html.DropDownList("CategoryId", (ViewBag.CategoryId as SelectList))
        </div>
    </div>
    <div class="fieldRow">
        <div class="label">
            האם תמונה מחזורית?</div>
        <div class="value">
            @Html.CheckBox("IsRepeat")
            <label for="IsRepeat">
                תמונה מחזורית
            </label>
        </div>
    </div>
    <div class="fieldRow">
        <div class="label">
            האם עמוד בודד?</div>
        <div class="value">
            @Html.CheckBox("IsSingle")
            <label for="IsSingle">
                תמונת עמוד בודד</label>
        </div>
    </div>
    <div class="clear">
    </div>
</div>
<div class="topSpace">
</div>
<div id="uploader" class="clear">
    <p>
        You browser doesn't have Flash, Silverlight, Gears, BrowserPlus or HTML5 support.
    </p>
</div>
</form>
